package AgentTravel.LogicObjects;

import java.awt.Color;
import java.util.LinkedList;
import java.util.List;

public class DayPlanReserved extends DayPlan
{
	private List<UserProfile> guests;
	
	public DayPlanReserved()
	{
		super(Color.red);
		guests=new LinkedList<UserProfile>();
	}
	
	@Override
	public String GetPlanString() 
	{
		String ret="My guests:\n";
		for(int i=0;i<getGuests().size();i++)
			ret+=getGuests().get(i).getFullName()+"\n";
		return ret;
	}

	public void setGuests(List<UserProfile> guests) {
		this.guests = guests;
	}

	public List<UserProfile> getGuests() {
		return guests;
	}
	
}
